package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;
import java.util.List;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-05 
 */
@ApiModel (value ="安全教育培训表实体类",description = "SafetyTraining")
public class SafetyTraining {
	/**
	 * 安全培训表ID
	 */
   	@ApiModelProperty(value = "安全培训表ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 培训主题
	 */
   	@ApiModelProperty(value = "培训主题", name = "trainingTopic")
	private String trainingTopic;

	/**
	 * 培训类型
	 */
   	@ApiModelProperty(value = "培训类型", name = "trainingType")
	private String trainingType;

	/**
	 * 培训人
	 */
   	@ApiModelProperty(value = "培训人", name = "trainingStaff")
	private String trainingStaff;

	/**
	 * 培训图片
	 */
	@ApiModelProperty(value = "培训图片", name = "trainPicture")
	private String trainPicture;

	/**
	 * 培训课时(小时)
	 */
   	@ApiModelProperty(value = "培训课时(小时)", name = "trainingTime")
	private Double trainingTime;

	/**
	 * 培训日期
	 */
   	@ApiModelProperty(value = "培训日期", name = "trainingDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date trainingDate;

	/**
	 * 培训人数
	 */
   	@ApiModelProperty(value = "培训人数", name = "trainingNumber")
	private Integer trainingNumber;

	/**
	 * 附件
	 */
   	@ApiModelProperty(value = "附件", name = "accessory")
	private String accessory;

	/**
	 * 附件
	 */
	@ApiModelProperty(value = "附件", name = "list")
	private List list;

	public SafetyTraining(){ super(); }

	public SafetyTraining(Integer id, Integer projectId, String trainingTopic, String trainingType, String trainingStaff, String trainPicture, Double trainingTime, Date trainingDate, Integer trainingNumber, String accessory, List list) {
		this.id = id;
		this.projectId = projectId;
		this.trainingTopic = trainingTopic;
		this.trainingType = trainingType;
		this.trainingStaff = trainingStaff;
		this.trainPicture = trainPicture;
		this.trainingTime = trainingTime;
		this.trainingDate = trainingDate;
		this.trainingNumber = trainingNumber;
		this.accessory = accessory;
		this.list = list;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getTrainingTopic() {
		return trainingTopic;
	}

	public void setTrainingTopic(String trainingTopic) {
		this.trainingTopic = trainingTopic;
	}

	public String getTrainingType() {
		return trainingType;
	}

	public void setTrainingType(String trainingType) {
		this.trainingType = trainingType;
	}

	public String getTrainingStaff() {
		return trainingStaff;
	}

	public void setTrainingStaff(String trainingStaff) {
		this.trainingStaff = trainingStaff;
	}

	public String getTrainPicture() {
		return trainPicture;
	}

	public void setTrainPicture(String trainPicture) {
		this.trainPicture = trainPicture;
	}

	public Double getTrainingTime() {
		return trainingTime;
	}

	public void setTrainingTime(Double trainingTime) {
		this.trainingTime = trainingTime;
	}

	public Date getTrainingDate() {
		return trainingDate;
	}

	public void setTrainingDate(Date trainingDate) {
		this.trainingDate = trainingDate;
	}

	public Integer getTrainingNumber() {
		return trainingNumber;
	}

	public void setTrainingNumber(Integer trainingNumber) {
		this.trainingNumber = trainingNumber;
	}

	public String getAccessory() {
		return accessory;
	}

	public void setAccessory(String accessory) {
		this.accessory = accessory;
	}

	public List getList() {
		return list;
	}

	public void setList(List list) {
		this.list = list;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", trainingTopic='" + trainingTopic + '\'' +
				", trainingType='" + trainingType + '\'' +
				", trainingStaff='" + trainingStaff + '\'' +
				", trainPicture='" + trainPicture + '\'' +
				", trainingTime=" + trainingTime +
				", trainingDate=" + trainingDate +
				", trainingNumber=" + trainingNumber +
				", accessory='" + accessory + '\'' +
				", list=" + list +
				'}';
	}
}
